<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:66:"F:\PHPwork\w_blog\public/../application/home/view/login/login.html";i:1503302294;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<link href="__STATIC__/css/bootstrap.css" rel="stylesheet">
<link href="__STATIC__/css/font-awesome.min.css" rel="stylesheet">
<link href="__STATIC__/css/login.css" rel="stylesheet">
<script src="__STATIC__/js/lib/jquery/1.9.1/jquery.js"></script>
<script src="__STATIC__/js/lib/jquery/1.9.1/jquery-form.js"></script>
<script src="__STATIC__/js/article/login.js"></script>
<script type="application/javascript" src="__STATIC__/js/lib/layer/2.4/layer.js"></script>
<body>
<div class="demo form-bg">
    <div class="container">
        <div class="row">
            <div class="col-md-offset-3 col-md-6">
                <form class="form-horizontal" id="form-login" action="<?php echo url('/login'); ?>" onsubmit="return false" method="post">
                    <span class="heading">用户登录</span>
                    <div class="form-group">
                        <input  class="form-control" id="user_name"  name="user_name" placeholder="账号">
                        <i class="fa fa-user"></i>
                    </div>
                    <div class="form-group help">
                        <input type="password" class="form-control" id="pass_word" name="pass_word" placeholder="密码">
                        <i class="fa fa-lock"></i>
                        <a href="#" class="fa fa-question-circle"></a>
                    </div>
                    <div class="form-group">
                        <div class="main-checkbox">
                            <input type="checkbox" value="None" id="checkbox1" name="check"/>
                            <label for="checkbox1"></label>
                        </div>
                        <span class="text">记住我</span>
                        <button type="submit" class="btn btn-default" id="login">立刻登录</button>
                    </div>
                </form>
                <div class="form-group">
                       <a href="#" style="margin-left: 29px;" onclick="toQzoneLogin()"><img src="__STATIC__/img/qq_login.png"/></a>
                        <input type="hidden" id="codeurl" value="<?php echo $code_url; ?>">
                       <a href="#"  style="margin-left: 15px;" onclick="wbLogin()" ><img src="__STATIC__/img/wb_login.png"/></a>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    function toQzoneLogin(){
        parent.window.location.href="<?php echo url('Login/qqLogin'); ?>";
    }
    function wbLogin(){
        parent.window.location.href=$("#codeurl").val();
    }
</script>
